﻿using MediatR;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Commont.Domains;
using Traceability.Commont.Domains.AnimalsDomainFiles;
using Traceability.Commont.Domains.BatchManagementFiles;
using Traceability.Commont.Domains.ScratchTheFat;





namespace Traceability.Commont.DBContexts
{
    public class EFDBContext:BaseDBContext
    {
        public EFDBContext(DbContextOptions<EFDBContext> options,IMediator mediator) : base(mediator,options) { }
        public DbSet<Permissions> Permissions { get; set; }
        public DbSet<Roles> Roles { get; set; }
        public DbSet<RolesPermissiont> RolesPermissiont { get; set; }
        public DbSet<Users> Users { get; set; }
        public DbSet<UserRoles> UserRoles { get; set; }
        public DbSet<Clients> Clients { get; set; }
        public DbSet<Department> Department { get; set; }
        public DbSet<Enterprises> Enterprise { get; set; }

        //
        public DbSet<Approach> Approachs { get; set; }
        public DbSet<Deductions> Deductionss { get; set; }
        public DbSet<Immunity> Immunities { get; set; }
        public DbSet<LiveAnimalweighing> LiveAnimalweighings { get; set; }
        public DbSet<Scale> Scales { get; set; }
        public DbSet<ScaleDisplay> ScaleDisplaies { get; set; }
        public DbSet<ScaleType> ScaleTypes { get; set; }
        public DbSet<Shopping> Shoppings { get; set; }
        public DbSet<SlaughteredDetails> SlaughteredDetailss { get; set; }
        public DbSet<Waitingircle> Waitingircles { get; set; }
        public DbSet<SlaughterCircle> SlaughterCircles { get; set; }
        public DbSet<BulkSlaughter> BulkSlaughters { get; set; }
        public DbSet<TareSet> TareSets { get; set; }
        public DbSet<Byproduct> Byproducts { get; set; }
        public DbSet<WhiteNotes> WhiteNotes { get; set; }
        public DbSet<Stash> Stashs { get; set; }
        public DbSet<Partition> Partitions { get; set; }
        public DbSet<WeighTheFat> WeighTheFats { get; set; }
        public DbSet<SplitRU> SplitRUs { get; set; }
        public DbSet<ProductionScratches> ProductionScratchess { get; set; }
        public DbSet<SalesWeighing> SalesWeighings { get; set; }
        public DbSet<ApproachInspectionSheet> ApproachInspectionSheet { get; set; }
        public DbSet<NewLogions> NewLogions { get; set; }
        public DbSet<InspectionDetails> InspectionDetails { get; set; }
        
    }
}
